package HomeWork.HomeWork10.teacher;

/***/
public class teacher extends Person{
    public teacher() {
    }

    public teacher(String name, int age) {
        super(name, age);
    }
    public void teach(){
        System.out.println("老师" +super.getName()+
                "会讲课");
    }
}
